From: Guido Günther Date: Sun, 4 Jan 2026 12:07:30 +0000 (+0100) Subject: mixer-control: Let source update handle active output change X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2^2^2^2^2~8 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=afdd457ca2ef39a7e49963e8016aca09d85a3de8;p=gnome-shell.git mixer-control: Let source update handle active output change A signal is emitted when the output changes so don't set it right away as the stream might change port. This also brings set_default_source in line with set_default_sink() Signed-off-by: Guido Günther Origin: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/merge_requests/31 Bug: https://gitlab.gnome.org/GNOME/libgnome-volume-control/-/issues/34 Bug-Debian: https://bugs.debian.org/1126514 Applied-upstream: gnome-shell 50, commit:798230599950607ec285daecd070f5bcb28580e4 Gbp-Pq: Topic libgvc Gbp-Pq: Name mixer-control-Let-source-update-handle-active-output-chan.patch --- diff --git a/subprojects/gvc/gvc-mixer-control.c b/subprojects/gvc/gvc-mixer-control.c index 45ae31447..b8198d383 100644 --- a/subprojects/gvc/gvc-mixer-control.c +++ b/subprojects/gvc/gvc-mixer-control.c @@ -341,7 +341,6 @@ gboolean gvc_mixer_control_set_default_source (GvcMixerControl *control, GvcMixerStream *stream) { - GvcMixerUIDevice* input; pa_operation *o; g_return_val_if_fail (GVC_IS_MIXER_CONTROL (control), FALSE); @@ -373,13 +372,6 @@ gvc_mixer_control_set_default_source (GvcMixerControl *control, pa_operation_unref (o); - /* source change successful, update the UI. */ - input = gvc_mixer_control_lookup_device_from_stream (control, stream); - g_signal_emit (G_OBJECT (control), - signals[ACTIVE_INPUT_UPDATE], - 0, - gvc_mixer_ui_device_get_id (input)); - return TRUE; }